package model;

import math.Expression;

public class AltaRicaConst {

    private String id;
    private Expression expr;

    public AltaRicaConst(String id, Expression expr) {

        this.id = id;
        this.expr = expr;
    }

    public String getId() {

        return this.id;
    }

    public Expression getExpression() {

        return this.expr;
    }

    @Override
    public String toString() {

        return "const " + id + " = " + expr + ";";
    }
}
